ExamPlay Light Logo
Đăng nhập

Computer Science for IGCSE & O level - Programming (Section 10 - No. 36)

In the pseudocode, what is the primary purpose of the line: `TOTAL = 0`?
To define the loop's condition.
To output the total marks.
To initialize the 'TOTAL' variable to zero.
To read the input marks.

Giải thích

Initializing `TOTAL = 0` sets the starting value for accumulating the sum of marks.

Bình luận (0)

Đăng nhập để bình luận
Quảng cáo
BrainBehindX Inc Logo
©2026; Được cung cấp bởi BrainBehindX Inc